package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Menu;
import com.itheima.pojo.Role;

import java.util.List;
import java.util.Set;

public interface RoleService {
    public PageResult pageQuery(QueryPageBean queryPageBean);

    public void add(Role role,Integer[] roleIds);

    public Role findByRoleId(Integer roleId);

    public void delete(Integer roleId);

    public void edit(Role role,Integer[] roleIds);

    public Set<Role> findAll();

    public Set<Integer> findMenuIdsByRoleId(Integer id);
}
